import request from "@/util/request"

export async function getAnnouncements(currentPage = 1, pageSize = 10) {
    const res = await request.get('/announcement/msg',{page:currentPage,pagesize:pageSize});
    return {
        list: res.data.data.list,
        total: res.data.data.total
    }
}
